using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace WMVConvert.Metadata
{
	[ComImport]
	[Guid("DF683F00-2D49-4d8e-92B7-FB19F6A0DC57")]
	[TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)]
	[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
	internal interface IWMLanguageList
	{
		int GetLanguageCount([Out]out int pwCount);
		int GetLanguageDetails([In]int wIndex,[Out]StringBuilder pwszLanguageString,[In, Out]ref ushort pcchLanguageStringLength);
		int AddLanguageByRFC1766String([In]string pwszLanguageString, [Out]out ushort pwIndex);
	}
}
